﻿namespace WLFramework.IoC
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    internal interface IIocRegisterService
    {
        bool HasInstance { get; }

        object GetInstance(IIocContainer ioc, bool createNew);

        bool DestroyInstance();

        string Type { get; }
    }

    internal interface IIocRegisterService<T> : IIocRegisterService
    {
        T GetTypedInstance(IIocContainer ioc, bool createNew);
    }
}
